package com.zhongxia.mapper;

import com.zhongxia.entity.User;

import java.util.List;

/**
 * @Author: 废柴弟弟
 * @Date: 2020/4/1 11:31
 */
public interface UserMapper {
    public List<User> findAll(int index, int limit);
    public User findById(int id);
    public int count();
    public void save(User user);
    public void deleteById(int id);
}
